#ifndef QSSWINDOW_H
#define QSSWINDOW_H

#include "qsseditor_global.h"
#include <QMainWindow>

class QssEditor;
class Previewer;

class QSSEDITOR_EXPORT QssWindow : public QMainWindow
{
    Q_OBJECT
public:
    explicit QssWindow(QWidget *parent = nullptr);

    void addPreviewWidget(QWidget *w, QString title);

signals:
    void applyCss(const QString &style);

private:
    QssEditor *m_qssEditor;
    Previewer *m_previewer;
};

#endif // QSSWINDOW_H
